import request from '@/utils/request'

// 查询固定资产-支付管理列表
export function listDealFixedAssetsPayment(query) {
  return request({
    url: '/payment/dealFixedAssetsPayment/list',
    method: 'get',
    params: query
  })
}

// 查询固定资产-支付管理详细
export function getDealFixedAssetsPayment(id) {
  return request({
    url: '/payment/dealFixedAssetsPayment/' + id,
    method: 'get'
  })
}

// 保存固定资产-支付管理
export function saveDealFixedAssetsPayment(data) {
  return request({
    url: '/payment/dealFixedAssetsPayment/save',
    method: 'post',
    data: data
  })
}

// 删除固定资产-支付管理
export function delDealFixedAssetsPayment(id) {
  return request({
    url: '/payment/dealFixedAssetsPayment/' + id,
    method: 'delete'
  })
}

// 删除支付明细
export function delDealFixedAssetsPaymentDetails(id) {
  return request({
    url: '/payment/dealFixedAssetsPaymentDetails/' + id,
    method: 'delete'
  })
}

// 导出固定资产-支付管理
export function exportDealFixedAssetsPayment(query) {
  return request({
    url: '/payment/dealFixedAssetsPayment/export',
    method: 'get',
    params: query
  })
}
